package com.rc.saas.mini.weixin;

/**
 * 存储非 敏感信息
 * @author wangzhengwei
 * @create 2021/4/29
 */
public class WxSessionInfo {
    /**
     * 公众号原始ID
     */
    private String originalid;
    /**
     * 公众号开发者ID
     */
    private String appId;
    /**
     * 公众号开发者密钥
     */
    //private String secret;

    /**
     * 运营商
     */
    private String tenantCode;

    /**
     * 运营商简码
     */
    private String tenantPrefix;

    /**
     * 微信支付商户号
     */
    private String mchId;

    private String nickname;
    private String openid;
    private String unionid;

    private String wechatPayMchid;

    private RedisWxConfiguration redisWxConfiguration;

    public String getWechatPayMchid() {
        return wechatPayMchid;
    }

    public void setWechatPayMchid(String wechatPayMchid) {
        this.wechatPayMchid = wechatPayMchid;
    }

    public String getOriginalid() {
        return originalid;
    }

    public void setOriginalid(String originalid) {
        this.originalid = originalid;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public String getTenantPrefix() {
        return tenantPrefix;
    }

    public void setTenantPrefix(String tenantPrefix) {
        this.tenantPrefix = tenantPrefix;
    }

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    public RedisWxConfiguration getRedisWxConfiguration() {
        return redisWxConfiguration;
    }

    public void setRedisWxConfiguration(RedisWxConfiguration redisWxConfiguration) {
        this.redisWxConfiguration = redisWxConfiguration;
    }

    @Override
    public String toString() {
        return "WxSessionInfo{" +
                "originalid='" + originalid + '\'' +
                ", appId='" + appId + '\'' +
                ", tenantCode='" + tenantCode + '\'' +
                ", tenantPrefix='" + tenantPrefix + '\'' +
                ", mchId='" + mchId + '\'' +
                ", nickname='" + nickname + '\'' +
                ", openid='" + openid + '\'' +
                ", unionid='" + unionid + '\'' +
                '}';
    }
}
